package com.lyw.forum.pojo.request;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class ArticleReplyCreateRequest {
    @NotNull(message = "文章id不能为空")
    @Min(value = 1, message = "文章id不能小于1")
    private Integer articleId;
    private Integer postUserId;
    private Integer replyId;
    private Integer replyUserId;
    @NotNull(message = "内容不能为空")
    private String content;

}
